<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改页面</title>
    <link rel="stylesheet" href="${bp}/static/css/base.css">
    <style type="text/css">
        .inp{
            margin-top: 10px;
            width: 300px;
            height: 50px;
        }
    </style>
</head>
<body>

<%--使用jsp的指令引入公共头部--%>
<%@include file="header.jsp"%>
<div id="register">
    <h3>编辑用户信息</h3>
    <form action="${bp}/user?method=update" method="post">
        <p><input type="hidden" name="id" value="${user.id}"></p>
        <p><input type="text" name="username" class="inp"  readonly placeholder="请输入用户名" value="${user.username}"></p>
        <p><input type="password" name="password" class="inp" placeholder="请输入密码" value="${user.password}"></p>
        <p><input type="text" name="tel" class="inp" placeholder="请输入联系方式" value="${user.tel}"></p>
        <p><input type="date" name="birth" class="inp" value="${user.birth}"></p>
        <p><input type="submit" value="更新" class="inp"></p>
    </form>
</div>
</body>
</html>
